package com.marvels.financial.loan.dao;

import org.apache.ibatis.annotations.Param;

import com.marvels.financial.loan.dto.McfeCardBinInfoDTO;

public interface McfeCardBinInfoDao {
    int deleteByPrimaryKey(Long id);

    int insert(McfeCardBinInfoDTO record);

    int insertSelective(McfeCardBinInfoDTO record);

    McfeCardBinInfoDTO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(McfeCardBinInfoDTO record);

    int updateByPrimaryKey(McfeCardBinInfoDTO record);
    
    
    /**
     * 通过身份证查询绑卡信息
     * @param bankCard
     * @return
     */
    public McfeCardBinInfoDTO selectByBankCard(@Param("bankCard") String bankCard);
}